import{
    Article,
    Dashboard,
    Settings,
    ArticleEdit
}from "./pages"

const routes=[{
    path:'/admin/dashboard',
    component:Dashboard,
    title:'仪表盘',
    isNav:true,
    iconType:'fund'
},
{
    path:'/admin/article',
    component:Article,
    title:'文章管理',
    isNav:true,
    isExact:true,
    iconType:'snippets'
},
{
    path:'/admin/article/edit/:id',
    component:ArticleEdit,
    isNav:false,
},
{
    path:'/admin/settings',
    component:Settings,
    title:'系统设置',
    isNav:true,
    iconType:'setting'
}]

export default routes